For replication of Wasow, Omar, 2020, "Agenda Seeding: How 1960s Black Protests Moved Elites, Public Opinion and Voting," American Political Science Review.

Note: all code requires downloaded data in "Original Format" not "Archival Format (.tab)"

1. Using application RStudio, open agenda_seeding_replication.Rproj
2. Install package "here" to construct paths to project's files.
   - install.packages("here")
   - library(here)
3. Download relevant datasets from third parties. Note ICPSR_02896 folder names have year added (e.g., ICPSR_02896_0074_1962). Also see read_me.txt in each folder.
   - ICPSR
     - data/ICPSR_08611/dvnDataFile_509482.RData
     - data/ICPSR_02896/ICPSR_02896_0074_1962/DS0074/02896-0074-Data.dta
     - data/ICPSR_02896/census1962variablenames3.txt
     - data/ICPSR_02896/ICPSR_02896_0076_1972/DS0076/02896-0076-Data.dta
     - data/ICPSR_02896/ICPSR_02896_0076_1972/DS0076/02896-0076-Setup.dct
     - data/ICPSR_02896/ICPSR_02896_0078_1983/DS0078/02896-0078-Data.dta
     - data/ICPSR_02896/ICPSR_02896_0078_1983/DS0078/02896-0078-Setup.dct
     - data/ICPSR_02896/ICPSR_02896_0080_1994/DS0080/02896-0080-Data.dta
   - G-Carter – 1960s Black Riot Data (1964–1971), Harvard Dataverse
     - data/Carter_data/carter_data.csv
   - Stanford Dynamics of Collective Action
     - data/dynamics_of_collective_action/final_data_v10.dta
4. Open and run data pre-processing code chunks in make_script_rep.R 
5. Run APSR_protests3_1_rep.R or APSR_protests3_1_rep.Rnw (requires Knitr and XeLaTex)    
   
   